<%--
  Created by IntelliJ IDEA.
  User: qiliping
  Date: 15/12/2
  Time: 上午10:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="paging" uri="paging-taglib" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>


<html>
<head>
    <title>基金经理列表</title>
</head>
<body>
<div class="row">
    <div class="col-md-12">
        <!-- BEGIN PAGE TITLE & BREADCRUMB-->
        <h3 class="page-title">
            业务团队管理
            <small>基金经理列表</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="${ctx}/main">
                    首页
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#">
                    业务团队管理
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#">
                    基金经理列表
                </a>
            </li>
        </ul>
        <!-- END PAGE TITLE & BREADCRUMB-->
    </div>
</div>
<!-- END PAGE HEADER-->
<!------内容区----->
<div class="main">
    <div class="row">
        <div class="col-md-12">
            <div class="text-right">
                <a href="${ctx}/fund_manager_list/add" class="btn blue">添加基金管理人</a>
            </div>
        </div>
    </div>

        <div class="row">
            <div class="col-md-12">
                <table class="table table-striped table-hover zqy-table zqy-table productsTable">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>名称</th>
                        <th>所在公司</th>
                        <th>职位</th>
                        <th>联系电话</th>
                        <th>从业经验</th>
                        <th>状态</th>
                        <th></th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach var="item" items="${list}">
                        <tr>
                            <td>${item.managerId}</td>
                            <td>
                               ${item.managerName}
                            </td>

                            <td>${item.companyName}</td>
                            <td>${item.jobTitle}</td>
                            <td>${item.phone}</td>
                            <td>
                                ${item.experience}
                            </td>
                            <td>
                                <c:choose>
                                    <c:when test="${item.status==1}">
                                        正常
                                    </c:when>
                                    <c:otherwise>
                                        禁用
                                    </c:otherwise>
                                </c:choose>
                            </td>
                            <td>
                                <a href="${ctx}/fund_manager_list/edit?id=${item.managerId}">编辑</a>
                            </td>

                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <div class="text-center">
                    <ul class="pagination">
                        <paging:paging pageIndex="${pageIndex}" totalPage="${totalPage}" href="${ctx}/fund_manager_list" htmlTag="li"></paging:paging>

                    </ul>
                </div>

            </div>
        </div>

    </form>
</div>
<!------[end]内容区----->

</body>
</html>